package com.im.partchat.ui.activity.more;

import android.content.ClipboardManager;
import android.widget.TextView;

import com.im.partchat.App;
import com.im.partchat.R;
import com.im.partchat.base.BaseActivity;
import com.im.partchat.constant.Constatnt;
import com.im.partchat.utils.Navigation;

import butterknife.BindView;
import butterknife.OnClick;

public class PayDuesActivity extends BaseActivity {

    @BindView(R.id.pay_click)
    TextView payClick;



    @OnClick(R.id.pay_click)
    public void onViewClicked() {

        ClipboardManager c= (ClipboardManager)getSystemService(CLIPBOARD_SERVICE);
        c.setText(App.getUserBean().getSfzh());
        showToast("身份证号已经复制，点击输入框即可粘贴");
        Navigation.navigateWebview("我要交党费", Constatnt.PAYDUES_URL);
    }

    @Override
    public void onLoadDataSuccess(Object o, String flag) {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_pay_dues;
    }

    @Override
    protected void initData() {

    }
}
